package com.student.liu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.student.liu.entity.GoodsType;
import com.student.liu.mapper.IGoodsTypeMapper;
import com.student.liu.service.IGoodsTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 商品类型 Service实现类
 */
@Service
public class GoodsTypeServiceImpl extends ServiceImpl<IGoodsTypeMapper, GoodsType> implements IGoodsTypeService {

    @Resource
    IGoodsTypeMapper goodsTypeMapper;
    @Override
    public Integer SelectTypeId(String name) {
        return goodsTypeMapper.SelectTypeId(name);
    }
}
